using System;
using System.Collections.Generic;
using System.Text;
using Mud.Common.Physical;

namespace Mud.Client
{
    public struct AreaLandSquare
    {

        public TerrainType TerrainType
        {
            get { return _terrainType; }
        }
        private TerrainType _terrainType;

        public int X
        {
            get { return _x; }
        }
        private int _x;

        public int Y
        {
            get { return _y; }
        }
        private int _y;


        public AreaLandSquare(TerrainType terrainType, int x, int y)
        {
            if (x < 0)
                throw new ArgumentOutOfRangeException("x");
            if (y < 0)
                throw new ArgumentOutOfRangeException("y");
            _terrainType = terrainType;
            _x = x;
            _y = y;
        }

    }
}
